package viewbuilder.support

import groovy.xml.MarkupBuilder

class WebViewBuilderExecuter extends ViewBuilderExecuter {

    def writer

    def WebViewBuilderExecuter(ClassLoader classLoader, String componentsLocation, String componentsPackage) {

        this.writer = new StringWriter()
        this.builder = new MarkupBuilder(writer)
        this.classLoader = classLoader
        this.componentsLocation = componentsLocation
        this.componentsPackage = componentsPackage
    }
}